﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="DebugTraceWriter.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   Defines the DebugTraceWriter type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

#define DEBUG

namespace Photon.Diagnostics
{
    using System.Diagnostics;

    public class DebugTraceWriter : ITraceWriter
    {
        public void WriteLine(string text)
        {
            Debug.WriteLine(text);
        }

        public void WriteLine(string format, params object[] args)
        {
            Debug.WriteLine(format, args);
        }
    }
}
